package com.qst.rongxiaotong.mapper;

import com.qst.rongxiaotong.pojo.Discuss;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DiscussMapper {

    //添加评论
    int insertSelective(Discuss discuss);

    //查询评论
    List<Discuss> selectByKnowledgeId(@Param("KnowledgeId") Integer knowledgeId);

}
